package cn.changein.framework.config;

import cn.changein.framework.db.listener.InitTableListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 *     数据库初始化默认配置
 * </p>
 *

 * @Date: 2020-10-27 15:18
 * @Copyright: companyName
 * @Version 1.0
 * @Since JDK1.8
 */
@Configuration
public class DbInitializerAutoConfiguration {

    @Bean
    public InitTableListener initTableListener() {
        return new InitTableListener();
    }
}
